For consistency with the other stock style classes.
https://bugzilla.gnome.org/show_bug.cgi?id=706045
GTK_STYLE_CLASS_LEVEL_BAR
GTK_STYLE_CLASS_CURSOR_HANDLE
GTK_STYLE_CLASS_INSERTION_CURSOR
+GTK_STYLE_CLASS_TITLEBAR
GTK_STYLE_REGION_COLUMN
GTK_STYLE_REGION_COLUMN_HEADER
GTK_STYLE_REGION_ROW
*/
#define GTK_STYLE_CLASS_INSERTION_CURSOR "insertion-cursor"
+/**
+ * GTK_STYLE_CLASS_TITLEBAR:
+ *
+ * A CSS class used when rendering a titlebar in a toplevel
+ * window.
+ */
+#define GTK_STYLE_CLASS_TITLEBAR "titlebar"
/* Predefined set of widget regions */
"vpadding", 0,
NULL);
context = gtk_widget_get_style_context (priv->title_box);
- gtk_style_context_add_class (context, "titlebar");
+ gtk_style_context_add_class (context, GTK_STYLE_CLASS_TITLEBAR);
gtk_widget_set_parent (priv->title_box, widget);
title = g_markup_printf_escaped ("<b>%s</b>",